package com.cetcs.kmga.dataManager.util;

import org.codehaus.jackson.map.ObjectMapper;

/**
 * 获取单例模式mapper类
 *
 * @author xutao
 * @version V1.0 创建时间：2017-02-25 1:36
 *          Copyright 2017 by CETC
 */
public class ObjectMapperManager {

    private ObjectMapperManager() {

    }

    private static class ObjectMapperInstance {
        private static final ObjectMapper instance = new ObjectMapper();
    }

    public static ObjectMapper getInstance() {
        return ObjectMapperInstance.instance;
    }

}
